package com.itheima.dao;

import com.itheima.pojo.OrderSetting;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * Created by Sakai
 * Date 2020/11/25
 */
public interface OrderSettingDao {

        public void add(OrderSetting orderSetting);

        public void editNumberByOrderDate(OrderSetting orderSetting);

        public long findCountByOrderDate(Date orderDate);

        List<OrderSetting> getOrderSettingByMonth(Map map);
        //根据预约日期查询预约设置信息
        public OrderSetting findByOrderDate(Date orderDate);
        //更新已预约人数
        public void editReservationsByOrderDate(OrderSetting orderSetting);
}
